const express = require("express")
const bodyParser = require("./被封装的自定义中间件")
const app = express()

app.use(bodyParser)

app.post('/user', (req, res) => {
  res.send(req.body)
})

app.listen(8088, () => {
  console.log('running')
})
